]> dgit.raspbian.org Git - gnome-shell.git/commit
Use new GLib application API for launching
authorColin Walters <walters@verbum.org>
Tue, 21 Dec 2010 02:06:03 +0000 (21:06 -0500)
committerColin Walters <walters@verbum.org>
Tue, 8 Feb 2011 15:43:39 +0000 (10:43 -0500)
commita138f59cb091f08e35719ddb2125e9cf33af4742
treed09008cbbbf3729d0d97b4be094c3664e262bd17
parentd3e223c21769aa8331464ce92067b4069b6790a5
Use new GLib application API for launching

Launch child processes more directly; we retrieve the PID, and
use it to keep track of the .desktop file we launched.

Now, when we get a window, since the X window has a PID, we
have a pretty strong association.

.desktop file <-> PID <-> window

And can thus map window back to .desktop file.

https://bugzilla.gnome.org/show_bug.cgi?id=637745
src/shell-app-system.c
src/shell-window-tracker-private.h
src/shell-window-tracker.c